package com.kaifamiao.month05.day18;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public class MyConnection extends ConnectionAdapter{


    public MyConnection(List<Connection> connections, Connection conn) {
        super(connections, conn);
    }

    @Override
    public void close() throws SQLException {
        super.connections.add(this);
    }
}
